package com.itheima.web.controller;

/**
 * @author huyoufu <https://github.com/huyoufu>
 * @TIME 2020-08-14 20:35
 * @description
 */
public class ResultVo {
    private int id;
    private Object data;
    private String msg;

    public ResultVo(int id, String msg) {
        this.id = id;
        this.msg = msg;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static void main(String[] args) {
        System.out.println(5/0);
    }
}
